package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:12
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductVersionScopeRelateDAO extends IDataAccessInterface<ProductVersionScopeRelate, ProductVersionScopeRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_VERSION_SCOPE_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_VERSION_SCOPE_RELATE.ID";

    /**
     * Mapped Field VERSION_SCOPE_ID
    */
    static final String VersionScopeId = "PRODUCT_VERSION_SCOPE_RELATE.VERSION_SCOPE_ID";

    /**
     * Mapped Field RELATE_TYPE
    */
    static final String RelateType = "PRODUCT_VERSION_SCOPE_RELATE.RELATE_TYPE";

    /**
     * Mapped Field RELATED_OBJECT_ID
    */
    static final String RelatedObjectId = "PRODUCT_VERSION_SCOPE_RELATE.RELATED_OBJECT_ID";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_VERSION_SCOPE_RELATE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_VERSION_SCOPE_RELATE.REMARKS";

    /**
     * Mapped Attribute scopeName
    */
    static final String ScopeName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductVersionScopeDAO.ScopeName,
            com.ourteam.product.requirement.dao.IProductVersionScopeDAO.EntityName +
            ".", "PRODUCT_VERSION_SCOPE.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductVersionScopeRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute versionScopeId
         */
        static final String VersionScopeId = "versionScopeId";

        /**
         * Attribute relateType
         */
        static final String RelateType = "relateType";

        /**
         * Attribute relatedObjectId
         */
        static final String RelatedObjectId = "relatedObjectId";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute scopeName
         */
        static final String ScopeName = "scopeName";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
